//package com.laiketui.order.controlller;
//
//import com.laiketui.order.api.OrderTaskService;
//import com.laiketui.root.annotation.HttpApiMethod;
//import com.laiketui.core.domain.Result;
//import com.laiketui.core.exception.LaiKeAPIException;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
///**
// * 订单远程调用
// * gp
// */
//@Api(tags = "订单远程调用")
//@RestController
//@RequestMapping("/order/feign")
//public class OrderFeignController {
//    @Autowired
//    private OrderTaskService orderTaskService;
//
//    @ApiOperation("订单定时结算")
//    @RequestMapping("/orderSettlement")
//    @HttpApiMethod(apiKey = "laike.order.task.http.orderSettlement")
//    public Result orderSettlement(int storeId, int mchId, String orderType){
//        try {
//            return Result.success(orderTaskService.orderSettlement(storeId, mchId, orderType));
//        } catch (LaiKeAPIException e) {
//            return Result.error(e.getCode(), e.getMessage());
//        }
//    }
//}
